From 3c66521c46e6d3aad96a5270ea160bce2e7a2d0f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 13 Nov 2008 10:50:50 +0000 Subject: [PATCH] xm: display domain id on domain creation Signed-off-by: Kouya Shimura --- tools/python/xen/xm/create.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index eb8f3e237c..3620e4968d 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -1202,8 +1202,9 @@ def make_domain(opts, config): except: server.xend.domain.destroy(dom) err("Failed to unpause domain %s" % dom) - opts.info("Started domain %s" % (dom)) - return int(sxp.child_value(dominfo, 'domid')) + domid = int(sxp.child_value(dominfo, 'domid')) + opts.info("Started domain %s (id=%d)" % (dom, domid)) + return domid def get_xauthority(): -- 2.30.2